#include"Heap.h"
void test()
{
	Heap hp;
	int a[5] = { 7,3,1,9,5 };
	HeapCreate(&hp, a, 5);
	HeapPush(&hp,10);
	while (!HeapEmpty(&hp))
	{
		printf("%d--", HeapTop(&hp));
		HeapPop(&hp);
	}
	HeapDestory(&hp);
}
int main()
{
	
	test();
	return 0;

}